package com.mind.adjust.mapper;

import com.mind.system.domain.AjBasicDeduction;
import java.util.List;

/**
 * (AjBasicDeduction)表数据库访问层
 *
 * @author makejava
 * @since 2024-12-02 13:41:22
 */
public interface AjBasicDeductionMapper {

    /**
     * 查询数据集合
     * 
     * @param basicDeduction 信息
     * @return 数据集合
     */
    public List<AjBasicDeduction> selectBasicDeductionList(AjBasicDeduction basicDeduction);

    /**
     * 通过ID查询信息
     * 
     * @param basicDeductionId ID
     * @return 角色对象信息
     */
    public AjBasicDeduction selectBasicDeductionById(Long basicDeductionId);

    /**
     * 删除信息
     * 
     * @param basicDeductionId ID
     * @return 结果
     */
    public int deleteBasicDeductionById(Long basicDeductionId);

    /**
     * 批量删除信息
     * 
     * @param basicDeductionIds 需要删除的ID
     * @return 结果
     */
    public int deleteBasicDeductionByIds(String[] basicDeductionIds);

    /**
     * 修改信息
     * 
     * @param basicDeduction 信息
     * @return 结果
     */
    public int updateBasicDeduction(AjBasicDeduction basicDeduction);

    /**
     * 新增信息
     * 
     * @param basicDeduction 信息
     * @return 结果
     */
    public int insertBasicDeduction(AjBasicDeduction basicDeduction);
    
    /**
     * 批量新增信息
     * 
     * @param basicDeductionList 信息
     * @return 结果
     */
    public int insertBasicDeductionBatch(List<AjBasicDeduction> basicDeductionList);
    
    
    /**
     * 根据名称查
     *
     * @param name 名称
     * @return 结果
     */
    AjBasicDeduction selectBasicDeductionByName(String name);
}

